﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExchangeLogin.aspx.cs" Inherits="liveatedu.ExchangeLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 200px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:Panel id="pnl1" runat="server">
<fieldset>
                <legend>
                    <h3>
                        <asp:Label ID="Label1" runat="server" Text="Đăng nhập Outlook Mail"></asp:Label>
                    </h3>
                </legend>
    <asp:Panel ID="panelLogin" runat="server">
        
        
        
        <br />
        <asp:Label ID="Label2" runat="server" Text="Email Test: tienhung@humg.edu.vn; password:1234567"></asp:Label>
        
        
        
        <table class="style1">
            <tr>
                <td class="style2">
                    <asp:Label ID="lblEmail" runat="server" Text="Email:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtUser" runat="server" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtUser" ErrorMessage="Email không được để trống"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="lblPassWord" runat="server" Text="Password:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPass" runat="server" TextMode="Password" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPass" ErrorMessage="Password không được để trống"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" 
                        Text="Login" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                </td>
            </tr>
        </table>
        <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="False" Text="Email hoặc password của bạn không đúng!"></asp:Label>
        
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
        <br />
        
    </asp:Panel>
    </fieldset>
</asp:Panel> 
    </form>
</body>
</html>
